I have a dxl attribute which displays the Object Heading of a parent object. We use this in Verification Matrices so that we don't have to include Ancestors in a filter. It works great in DOORS 8.1, but we just discovered that in DOORS 7.1, if there is anything in parenthesis within the Object Heading, that portion doesn't display.
string hdg = obj."Object Heading" ""
Object paro = obj
while ((!null paro) && (hdg == ""))
{
paro = parent paro
if (!null paro) {
hdg = paro."Object Heading" ""
}
}
string s = hdg
obj.attrDXLName = s
lnorton - Thu Aug 13 12:13:05 EDT 2009 |
Re: Problem displaying Object Heading in new attribute [] print hdg to make sure you see the parens. [] Try richText(s) [] make sure the attr is type Text (or make sure its type String)
|
Re: Problem displaying Object Heading in new attribute llandale - Thu Aug 13 12:44:23 EDT 2009
|